package cn.iocoder.yudao.module.system.feign;

import cn.iocoder.yudao.module.system.feign.configuration.ApproveRequestInterceptor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;
import java.util.List;

@FeignClient(name = "zysx-flowlong")
public interface ApprovedApi {
    String PREFIX = "/process/";

    @PostMapping(PREFIX + "selectApproved")
    List<ApprovedResp> selectApproved(@Valid @RequestBody ApprovedReqVO vo);
}
